import request from '@/utils/request'

// 查询进度提报列表
export function listTasksProgress(query) {
  return request({
    url: '/tasksProgress/tasksProgress/list',
    method: 'get',
    params: query
  })
}

// 查询进度提报详细
export function getTasksProgress(id) {
  return request({
    url: '/tasksProgress/tasksProgress/' + id,
    method: 'get'
  })
}

// 新增进度提报
export function addTasksProgress(data) {
  return request({
    url: '/tasksProgress/tasksProgress',
    method: 'post',
    data: data
  })
}

// 修改进度提报
export function updateTasksProgress(data) {
  return request({
    url: '/tasksProgress/tasksProgress',
    method: 'put',
    data: data
  })
}

// 删除进度提报
export function delTasksProgress(id) {
  return request({
    url: '/tasksProgress/tasksProgress/' + id,
    method: 'delete'
  })
}

// 导出进度提报
export function exportTasksProgress(query) {
  return request({
    url: '/tasksProgress/tasksProgress/export',
    method: 'get',
    params: query
  })
}